<%--
  Created by IntelliJ IDEA.
  User: yun
  Date: 2024/6/23
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1 align="center">修改学生信息</h1>
<form action="/StudentServlet" method="get">
    <input type="hidden" name = "id" value="${student.id}">

    <table border="1" width="700px" align="center">
        <tr>
            <td>学员姓名</td>
            <td><input type="text" name="name" value="${student.sname}"></td>
        </tr>
        <tr>
            <td>学员性别</td>
            <td><input type="text" name="age" value="${student.sage}"></td>
        </tr>
        <tr>
            <td>学员年龄</td>
            <td><input type="text" name="gender" value="${student.sgender}"></td>
        </tr>
        <tr>
            <td>家庭住址</td>
            <td><input type="text" name="address" value="${student.saddress}"></td>
        </tr>
        <tr>
            <td>Email</td>
            <td><input type="text" name="address" value="${student.semail}"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="修改"></td>
        </tr>
    </table>
</form>
</body>
</html>
